import * as vscode from 'vscode';

export function registerCommand(
	ctx:vscode.ExtensionContext,
	command:string,
	cb:()=>any){
	ctx.subscriptions.push(
		vscode.commands.registerCommand(command, cb)
	)
}


export function _e(msg:string){
    vscode.window.showErrorMessage(msg);
}